<?php
// load Smarty library
require('smarty_connect.php');

$smarty = new smarty_connect;

$friend = $_POST['friend'];

// assign options arrays
$smarty->assign('id', array(1,2,3,4,5));

$smarty->assign('names', array(1=>'bob',2=>'jim',3=>'joe',4=>'mary',5=>'jerry',6=>'fred'));
$smarty->assign('name1',6);

$smarty->display('index1.tpl');
?>
